<template>
  <div class="NavBar">
      <div class="NavBar_left"><slot name="NavBar_left"></slot></div>
      <div class="NavBar_center"><slot name="NavBar_center"></slot></div>
      <div class="NavBar_right"><slot name="NavBar_right"></slot></div>
  </div>
</template>

<script>


export default {
  name:'NavBar',
}
</script>

<style>
.NavBar{
    display: flex;
    line-height: 15vw;
    height: 15vw;
    text-align:center;
    font-size: 5vw;
    box-shadow: 0 2px 2px rgba(100, 100, 100, .1);
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 9;
    background-color: #fff;
}
.NavBar_left{
    width: 20%;
}
.NavBar_right{
    width: 20%;
}
.NavBar_center{
    flex: 1;
    display: flex;
    justify-content: space-evenly;
}
</style>

